﻿@model System.Web.Mvc.HandleErrorInfo

@{
    Layout = "~/Views/Shared/_Layout4Error.cshtml";
    ViewBag.Title = "Error";
}

<h2>
    Sorry, an error occurred while processing your request.
</h2>

@if (User.Identity.IsAuthenticated && User.IsInRole(CodeCamp.Models.Shared.CCRoles.RoleNames.BigCheeze))
{
    if (Model.Exception != null)
    {
        <text>@Model.Exception.Message</text>
    }
}